<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改业绩档案')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-yjda-edit" th:object="${wcldYjda}">
            <input name="id" th:field="*{id}" type="hidden">
            <div class="form-group">    
                <label class="col-sm-3 control-label">涉及人员姓名：</label>
                <div class="col-sm-8">
                    <input name="sjryxm" th:field="*{sjryxm}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">涉及人员姓职位：</label>
                <div class="col-sm-8">
                    <select name="sjryzw" class="form-control m-b" th:with="type=${@dict.getType('wcld_sjrygw')}">
                        <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{sjryzw}"></option>
                    </select>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">涉及人员责任领域：</label>
                <div class="col-sm-8">
                    <input name="sjryzrly" th:field="*{sjryzrly}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">发现问题数：</label>
                <div class="col-sm-8">
                    <input name="fxwts" th:field="*{fxwts}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">问题表现形式：</label>
                <div class="col-sm-8">
                    <input name="wtbxxs" th:field="*{wtbxxs}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">是否违反“三个规定”：</label>
                <div class="col-sm-8">
                    <div class="radio-box" th:each="dict : ${@dict.getType('sys_yes_no')}">
                        <input type="radio" th:id="${'sfzg_' + dict.dictCode}" name="sfwfsggd" th:value="${dict.dictValue}" th:field="*{sfwfsggd}">
                        <label th:for="${'sfzg_' + dict.dictCode}" th:text="${dict.dictLabel}"></label>
                    </div>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">处分人数：</label>
                <div class="col-sm-8">
                    <input name="cfrs" th:field="*{cfrs}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">处分结果：</label>
                <div class="col-sm-8">
                    <input name="cfjg" th:field="*{cfjg}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">何种形态：</label>
                <div class="col-sm-8">
                    <input name="hzxt" th:field="*{hzxt}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">是否整改：</label>
                <div class="col-sm-8">
                    <div class="radio-box" th:each="dict : ${@dict.getType('sys_yes_no')}">
                        <input type="radio" th:id="${'sfzg_' + dict.dictCode}" name="sfzg" th:value="${dict.dictValue}" th:field="*{sfzg}">
                        <label th:for="${'sfzg_' + dict.dictCode}" th:text="${dict.dictLabel}"></label>
                    </div>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">备注：</label>
                <div class="col-sm-8">
                    <textarea name="remark" class="form-control">[[*{remark}]]</textarea>
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "wcld/yjda";
        $("#form-yjda-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-yjda-edit').serialize());
            }
        }
    </script>
</body>
</html>